package com.itheima.service;

import com.itheima.Role;

import java.util.List;

public interface IRoleService {

    List<Role> findAll();

    void save(Role role);

    List<Role> findOtherRole(String userId);

    void addPermissionToRole(String roleId,String[] permissionIds);

    Role findById(String roleId);
}
